{% extends "system.html" %}

{% block right %}

  <div class="content">  
    <link rel="stylesheet" type="text/css" href="{{MEDIA_URL}}css/Batch.css">
    <div id="Exec" >
      <input id="Hosts" size=80 value="" name="Hosts">
      <select name="Exec" id="Command">
        {% if COMM %}
          {% for x in COMM %}
          <option value="{{x}}">{{x}}</option>
          {% endfor %}
        {% endif %}
      </select>
       <!-- <input type="submit" value="Execute:"> -->
       <button type="button" onclick="MyShow();">执行</button>
       <button type="button" onclick="Stop();">结束</button>
    </div> 
    <div style="padding:10px 2px 2px 2px; width:98%; height:88%;">
      <textarea id="Txtarea" name="data" class="ui_textarea">
      </textarea>
    </div>
    <!-- 
    <script type="text/javascript" src="{{MEDIA_URL}}js/protoculous-1.0.2-packed.js"></script>
    <script type="text/javascript" src="{{MEDIA_URL}}js/uparea.js"></script>
    -->
    <script type="text/javascript" src="{{MEDIA_URL}}js/jquery-1.5.min.js"></script>
    <script type="text/javascript" src="{{MEDIA_URL}}js/uparea-jquery.js"></script>
  </div>

{% endblock %}
